﻿using System;

namespace AMS.DataAccess.BO
{
    [DBTable("TD_City")]
    public class ProvinceCityInfo
    {
        public ProvinceCityInfo()
        {
        }

        public ProvinceCityInfo(string id, string name)
        {
            ID = id;
            Name = name;
        }

        [DBPrimaryKeyColumn("dID")]
        public string ID { get; set; }

        [DBColumn("dName")]
        public string Name { get; set; }

        [DBColumn("dProvinceID")]
        public string ProvinceID { get; set; }

        [DBColumn("dProvinceName")]
        public string ProvinceName { get; set; }

        public static string IDFieldName
        {
            get { return "ID"; }
        }

        public static string NameFieldName
        {
            get { return "Name"; }
        }
    }
}
